<%--
  Created by IntelliJ IDEA.
  User: Ryan
  Date: 2015/12/5
  Time: 11:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <link href="css/contribute.css" rel="stylesheet">
  <script  src="js/contribute.js"></script>
</head>
<body>
<div class="form-horizontal col-md-8 col-md-offset-1 contribute">
  <form id="contributeForm" action="contributeForm" method="post" enctype="multipart/form-data">
    <div class="form-group">
      <label for="title" class="col-xs-3 col-xs-offset-1 control-label">稿件标题</label>

      <div class="col-xs-7 col-md-offset-1">
        <input type="text" class="form-control" id="title" placeholder="稿件标题" name="title">
      </div>
    </div>
    <div class="form-group">
      <label for="type" class="col-xs-3 col-xs-offset-1 control-label">稿件类别</label>

      <div class="col-xs-7 col-md-offset-1">
        <input type="text" class="form-control" id="type" placeholder="稿件类别" name="type">
      </div>
    </div>
    <div class="form-group">
      <label for="keyword" class="col-xs-3 col-xs-offset-1 control-label">关 键 字</label>

      <div class="col-xs-7 col-md-offset-1">
        <input type="text" class="form-control" id="keyword" placeholder="关键字" name="keyword">
      </div>
    </div>
    <div class="form-group">
      <label for="keyword" class="col-xs-3 col-xs-offset-1 control-label">稿件摘要</label>

      <div class="col-xs-7 col-md-offset-1">
        <textarea class="col-xs-12" id="summary" placeholder="稿件摘要" name="summary"></textarea>
      </div>
      <input type="file" id="articleFile" name="articleFile" style="display: none"/>
    </div>
  </form>
  <div class="form-group" style="padding: 0;">
    <div class="col-sm-offset-6 col-sm-4">
      <button type="submit" class="btn btn-primary" id="chooseFile">确定</button>
    </div>
  </div>
</div>
</body>
</html>
